<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>color_name</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L114'>color_name</a>        114 lib/tty/color-internal.c parse_256_or_true_color_name (const char *color_name)</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L120'>color_name</a>        120 lib/tty/color-internal.c     if (sscanf (color_name, "color%d%c", &amp;i, &amp;dummy) == 1 &amp;&amp; i &gt;= 0 &amp;&amp; i &lt; 256)</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L125'>color_name</a>        125 lib/tty/color-internal.c     if (sscanf (color_name, "gray%d%c", &amp;i, &amp;dummy) == 1 &amp;&amp; i &gt;= 0 &amp;&amp; i &lt; 24)</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L129'>color_name</a>        129 lib/tty/color-internal.c     if (strncmp (color_name, "rgb", 3) == 0 &amp;&amp;</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L130'>color_name</a>        130 lib/tty/color-internal.c         color_name[3] &gt;= '0' &amp;&amp; color_name[3] &lt; '6' &amp;&amp;</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L131'>color_name</a>        131 lib/tty/color-internal.c         color_name[4] &gt;= '0' &amp;&amp; color_name[4] &lt; '6' &amp;&amp;</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L132'>color_name</a>        132 lib/tty/color-internal.c         color_name[5] &gt;= '0' &amp;&amp; color_name[5] &lt; '6' &amp;&amp; color_name[6] == '\0')</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L134'>color_name</a>        134 lib/tty/color-internal.c         return 16 + 36 * (color_name[3] - '0') + 6 * (color_name[4] - '0') + (color_name[5] - '0');</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L136'>color_name</a>        136 lib/tty/color-internal.c     if (color_name[0] == '#')</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L141'>color_name</a>        141 lib/tty/color-internal.c         color_name++;</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L142'>color_name</a>        142 lib/tty/color-internal.c         len = (int) strlen (color_name);</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L148'>color_name</a>        148 lib/tty/color-internal.c             h[i] = parse_hex_digit (color_name[i]);</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L195'>color_name</a>        195 lib/tty/color-internal.c tty_color_get_index_by_name (const char *color_name)</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L197'>color_name</a>        197 lib/tty/color-internal.c     if (color_name != NULL)</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L202'>color_name</a>        202 lib/tty/color-internal.c             if (strcmp (color_name, color_table[i].name) == 0)</span>
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L204'>color_name</a>        204 lib/tty/color-internal.c         return parse_256_or_true_color_name (color_name);</span>
</pre>
</body>
</html>
